﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.WindowsAzure.StorageClient;
using System.ComponentModel.DataAnnotations;

namespace PC.AzureMultiApp.Storage
{
    public class AzureApplicationEntity : TableServiceEntity
    {
        public AzureApplicationEntity()
            : base(Guid.NewGuid().ToString(), Guid.NewGuid().ToString())
        {
        }

        public AzureApplicationEntity(string partitionKey, string rowKey)
            : base(partitionKey, rowKey)
        {
        }

        public string UniqueId { get; set; }

        public string Name { get; set; }

        public string ApplicationName { get; set; }

        public string ApplicationUrl { get; set; }

        public string Version { get; set; }

        public string Label { get; set; }

        public string Status { get; set; }

        public string BlobUrl { get; set; }

        public bool IsWebDeploy { get; set; }
    }
}
